package pro.shushi.pamirs.demo.api.enumeration;

import pro.shushi.pamirs.meta.annotation.Dict;
import pro.shushi.pamirs.meta.common.enmu.IEnum;

@Dict(dictionary = CertTypeEnum.DICTIONARY, displayName = "证件类型", summary = "证件类型")
public enum CertTypeEnum implements IEnum<Integer> {
    sfz(111,"身份证");

    public static final String DICTIONARY = "demo.CertTypeEnum";

    private final Integer value;

    private final String displayName;

    CertTypeEnum(Integer value, String displayName) {
        this.value = value;
        this.displayName = displayName;
    }

    public Integer getCode() {
        return value;
    }

    public String getDisplayName() {
        return displayName;
    }
}